Skip to content

✨ 메인페이지 학교 목록에 중앙대 칩 추가 - #625

Merged
manNomi merged 1 commit into
mainfrom
feat/web-chungang-home-university-chip
Aug 3, 2026
Merged

✨ 메인페이지 학교 목록에 중앙대 칩 추가#625
manNomi merged 1 commit into
mainfrom
feat/web-chungang-home-university-chip

Conversation

@manNomi

@manNomi manNomi commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

요약

메인페이지 파견학교 목록의 홈 대학 필터 칩에 중앙대를 추가합니다.

변경 전:  전체 | 인하대 | 경희대
변경 후:  전체 | 인하대 | 경희대 | 중앙대

apps/university-web에는 이미 중앙대가 등록되어 있었으나(#622), apps/web에는 빠져 있어 메인페이지 칩·sitemap에 노출되지 않았습니다.

변경 내용

  • types/university.tsHomeUniversityNameCHUNGANG = "중앙대학교", HomeUniversitySlug"chungang" 추가
  • constants/university.tsHOME_UNIVERSITY_SLUG_MAP / HOME_UNIVERSITY_TO_SLUG_MAP / HOME_UNIVERSITY_LIST / HOME_UNIVERSITY_SLUGS에 중앙대 추가 (homeUniversityId: 3)
  • public/images/univs/chungang.png — 로고 추가 (apps/web에서 현재 렌더되지는 않지만 logoUrl 경로가 비지 않도록 university-web과 동일 파일 배치)

칩 외에 함께 반영되는 것:

  • 칩 선택 시 필터링 — isMatchedHomeUniversityNameHomeUniversityName enum으로 정규화하므로 API의 중앙대학교 응답과 매칭됩니다.
  • "더보기" 링크 — /university/chungang
  • sitemap — HOME_UNIVERSITY_LIST 기반이라 /university/chungang 자동 포함

maxChoiceCount 관련

HomeUniversityInfo의 필수 필드라 값이 필요했는데, 실제 값(인하대 3 / 경희대 5)은 관리자 API 인증이 필요해 확인하지 못했습니다.

DEFAULT_MAX_CHOICE_COUNT(3)를 그대로 지정했고, 이는 현재 프로덕션 동작과 정확히 동일합니다. 지금도 중앙대는 목록에 없어 getHomeUniversityById(3)undefined를 반환하고 같은 상수로 폴백하기 때문입니다. 즉 이 PR은 지원 플로우 동작을 바꾸지 않습니다.

실제 값이 3이 아니라면 별도 수정이 필요합니다. 코드에 TODO를 남겨두었습니다.

배포 의존성

"더보기" 링크(/university/chungang)가 열리려면 #624(rewrite 슬러그 수정)가 먼저 머지·배포되어야 합니다. 현재 apps/web의 rewrite 패턴이 (inha|kyunghee)라 해당 경로가 404입니다. 칩 자체와 필터링은 이 PR만으로 동작합니다.

두 PR 모두 apps/web 변경이므로, 머지 후 Promote Main to Release Branchesweb 타깃으로 한 번 실행하면 함께 반영됩니다.

검증

  • pnpm --filter @solid-connect/web run lint:check — 통과
  • pnpm --filter @solid-connect/web run typecheck — 통과
  • pnpm --filter @solid-connect/web run build — 통과
  • 상수 실행 확인: 칩 목록 전체 | 인하대 | 경희대 | 중앙대, getHomeUniversityById(3) → 중앙대학교 / slug chungang / maxChoiceCount 3 (DEFAULT와 동일)

🤖 Generated with Claude Code

@manNomi
manNomi requested a review from wibaek as a code owner August 3, 2026 15:15
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
solid-connect-university-web Ready Ready Preview Aug 3, 2026 3:18pm
solid-connection-web Ready Ready Preview Aug 3, 2026 3:18pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
solid-connect-web-admin Skipped Skipped Aug 3, 2026 3:18pm

@vercel
vercel Bot temporarily deployed to Preview – solid-connect-web-admin August 3, 2026 15:15 Inactive
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@manNomi, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 44 seconds

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e99efa7a-97f1-4ff3-a9ad-0006b948bdca

📥 Commits

Reviewing files that changed from the base of the PR and between 17f4777 and dea0391.

⛔ Files ignored due to path filters (1)
  • apps/web/public/images/univs/chungang.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • apps/web/src/constants/university.ts
  • apps/web/src/types/university.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dea0391fac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
homeUniversityId: 3,
name: HomeUniversity.CHUNGANG,
slug: "chungang",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Route the Chungang slug to the university zone

When a user selects the new 중앙대 option and follows either “더보기” or “학교 검색하기,” the generated URL starts with /university/chungang, but the reviewed apps/web/next.config.mjs still limits the catalog rewrites to (inha|kyunghee) at lines 24 and 114–119, and apps/web has no local catalog route to handle this path. Consequently, these links and the newly emitted Chungang sitemap URLs return 404 unless a separate configuration change is deployed first; add chungang to the rewrite and legacy-redirect pattern before exposing it through this shared list.

AGENTS.md reference: AGENTS.md:L99-L99

Useful? React with 👍 / 👎.

@manNomi
manNomi merged commit 71f088b into main Aug 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant